package org.yh;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

import lombok.extern.slf4j.Slf4j;

/**
 * 注册启动类
 * 
 * @author 岂
 *
 */
@Slf4j
@EnableEurekaServer
@SpringBootApplication
public class EurekaApp {

	public static void main(String[] args) {
		long start = System.currentTimeMillis();
		SpringApplication.run(EurekaApp.class, args);
		log.info("Eureka服务端启动完成：耗时" + (System.currentTimeMillis() - start) + "ms");
	}

}
